CREATE TABLE [dbo].[TTSITU]
(
[TI_SITU] [dbo].[TD_VC_003] NOT NULL,
[DE_TIPO_SITU] [dbo].[TD_VC_020] NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TTSITU__CO_USUA___0CDAE408] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TTSITU__FE_USUA___0DCF0841] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NULL CONSTRAINT [DF__TTSITU__CO_USUA___0EC32C7A] DEFAULT (substring(suser_sname(),(1),(8))),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NULL CONSTRAINT [DF__TTSITU__FE_USUA___0FB750B3] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTSITU] ADD CONSTRAINT [PK__TTSITU__8CFD406B7869D707] PRIMARY KEY CLUSTERED  ([TI_SITU]) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[TTSITU] TO [public]
GRANT INSERT ON  [dbo].[TTSITU] TO [public]
GRANT DELETE ON  [dbo].[TTSITU] TO [public]
GRANT UPDATE ON  [dbo].[TTSITU] TO [public]
GO
